import { BaseRequest } from "../request/index";

export function getBannerList(){
  return BaseRequest.get({
    url:'/banner',
    data:{tyep:2}
  })
}
export function getPlayList(id){
  return BaseRequest.get({
    url:'/playlist/detail',
    data:{id:id}
  })
}
export function getRankingList(id){
  return BaseRequest.get({
    url:'/playlist/detail',
    data:{id:id}
  })
}
export function getSongMenuList(cat = "全部", limit = 6, offset = 0) {
  return BaseRequest.get({
    url: "/top/playlist",
    data: {
      cat,
      limit,
      offset
    }
  })
}

export function getSongMenuTag() {
  return BaseRequest.get({
    url: "/playlist/hot"
  })
}